package com.sumainfor.pc.gmio.service.impl.cfo;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.gmio.dao.TheOwnerRentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * <p>
 * 业主房租待打款
 * <p>
 *
 * @author: zhoucong
 * @create: 2019-07-02 23:56
 **/
@Service
public class TheOwnerRentServiceImpl implements Serializable {

    @Autowired
    TheOwnerRentMapper theOwnerRentMapper;

    /**
     *  业主房租待打款
     * @author zhoucong
     * @data 2019/7/3
     * @Param
     * @return
     */
    public JsonResult getTheOwnerRent(){
        JsonResult result = new JsonResult();
        Map<String,Object> map = new HashMap<>();
        map.put("getTheOwnerRentCount",theOwnerRentMapper.getTheOwnerRent());
        return result.put(map);
    }
}
